package com.pptree.vo;

import java.io.Serializable;

public class UserInfo implements Serializable {
	
	private static final long serialVersionUID = 1L;
	private String loginId;
	private String loginPwd;
	private boolean isAdmin;
	
	public UserInfo() {
		
	}
	
	

	/**
	 * @param loginId 登录名
	 * @param loginPwd 密码
	 * @param isAdmin  是否是管理员 true 管理员 false 普通用户
	 */
	public UserInfo(String loginId, String loginPwd, boolean isAdmin) {
		this.loginId = loginId;
		this.loginPwd = loginPwd;
		this.isAdmin = isAdmin;
	}



	public String getLoginId() {
		return loginId;
	}

	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}

	public String getLoginPwd() {
		return loginPwd;
	}

	public void setLoginPwd(String loginPwd) {
		this.loginPwd = loginPwd;
	}

	public boolean isAdmin() {
		return isAdmin;
	}

	public void setAdmin(boolean isAdmin) {
		this.isAdmin = isAdmin;
	}
	
	
	
}
